WCPay\Internal\Payment\PaymentContext S

Total Complexity 37
Dependencies 4
Dependents 6
Total lines 364
Lines of code 116
Logical lines of code 42
Comment lines 205
Methods 37
Properties 3

Methods 37

Method Rating Maintainability Complexity Lines of code
__construct()
S
75 1 4
get_intent()
S
80 1 3
get_customer_id()
S
80 1 3
set_duplicate_order_id()
S
80 1 3
get_duplicate_order_id()
S
80 1 3
set_detected_authorized_intent()
S
80 1 3
is_detected_authorized_intent()
S
79 1 3
set_intent()
S
80 1 3
set_fraud_prevention_token()
S
80 1 3
get_user_id()
S
80 1 3
get_fraud_prevention_token()
S
80 1 3
get_transitions()
S
82 1 3
set_mode()
S
80 1 3
get_mode()
S
80 1 3
log_state_transition()
S
72 1 5
set()
S
75 1 4
log_change()
S
74 1 4
set_customer_id()
S
80 1 3
set_user_id()
S
80 1 3
get_order_id()
S
82 1 3
set_metadata()
S
80 1 3
set_amount()
S
80 1 3
get_amount()
S
80 1 3
set_currency()
S
80 1 3
get_currency()
S
80 1 3
toggle_automatic_capture()
S
80 1 3
should_capture_automatically()
S
79 1 3
get_level3_data()
S
80 1 3
get_payment_method()
S
80 1 3
set_level3_data()
S
80 1 3
get_metadata()
S
80 1 3
set_cvc_confirmation()
S
80 1 3
get_cvc_confirmation()
S
80 1 3
set_fingerprint()
S
80 1 3
get_fingerprint()
S
80 1 3
set_payment_method()
S
80 1 3
get()
S
79 1 3